package com.zte.claa.inficombo.csa.app.service.sapi.ffhost.bean;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

public class FFHostPartValue {
	private long logid = 0; //	记录ID	Long	自增长	N	主键
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",  timezone="GMT+8")
	private Timestamp collecttime; //	采集时间	Timestamp		N	创建索引
	private String deveui; //	消防设施系统资源编号	Varchar(100)	NA	N	创建索引
	private String projectid; //	项目ID	VARCHAR(200)		N	归属项目，	创建索引
	private int systype = 0; //	消防设施系统类型	Int	0	N	参见GB规范定义
	private int sysaddr = 0; //	消防设施系统地址	Int	0	N	
	private int parttype = 0; //	消防设施部件类型	Int	0	N	
	private String partaddr; //	消防设施部件	Varchar(10)	0	N	
	private int fieldtype = 0; //	模拟量值类型	Int	0	N	
	private double fieldvalue = 0; //	模拟量值	Double	0	Y	
	private String fieldunit; //	模拟量值单位	Varchar(20)		Y	
	
	public FFHostPartValue(){
		
	}

	public long getLogid() {
		return logid;
	}

	public void setLogid(long logid) {
		this.logid = logid;
	}

	public Timestamp getCollecttime() {
		return collecttime;
	}

	public void setCollecttime(Timestamp collecttime) {
		this.collecttime = collecttime;
	}

	public String getDeveui() {
		return deveui;
	}

	public void setDeveui(String deveui) {
		this.deveui = deveui;
	}

	public String getProjectid() {
		return projectid;
	}

	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}

	public int getSystype() {
		return systype;
	}

	public void setSystype(int systype) {
		this.systype = systype;
	}

	public int getSysaddr() {
		return sysaddr;
	}

	public void setSysaddr(int sysaddr) {
		this.sysaddr = sysaddr;
	}

	public int getParttype() {
		return parttype;
	}

	public void setParttype(int parttype) {
		this.parttype = parttype;
	}

	public String getPartaddr() {
		return partaddr;
	}

	public void setPartaddr(String partaddr) {
		this.partaddr = partaddr;
	}

	public int getFieldtype() {
		return fieldtype;
	}

	public void setFieldtype(int fieldtype) {
		this.fieldtype = fieldtype;
	}

	public double getFieldvalue() {
		return fieldvalue;
	}

	public void setFieldvalue(double fieldvalue) {
		this.fieldvalue = fieldvalue;
	}

	public String getFieldunit() {
		return fieldunit;
	}

	public void setFieldunit(String fieldunit) {
		this.fieldunit = fieldunit;
	}
	
}
